#给出任意一个列表，请查找出x元素是否在列表里面，如果存在返回1，不存在返回0，使用两种方法实现。
def finder(x):
    li1 = ["tom","jerry","aobama","tumple","linken","dell","marry","ironman","batman","spiderman"]
    if x in li1:
         print(1)
    else:
        print(0)
finder("to1m",)

# 两种方法代码一样？